package com.pms.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pms.web.dao.LoginDAO;
import com.pms.web.model.AdminModel;
@Service(value="loginS110")
public class LoginService implements LoginBase{
	@Autowired
	private LoginDAO dao;

	@Override
	public AdminModel getInfo(String username,String password) {
		AdminModel um=dao.getUserInfo(username, password);
		return um;
	}
	
}
